ShortPixel\Controller\QuotaController S

Total Complexity 47
Dependencies 5
Dependents 13
Total lines 354
Lines of code 223
Logical lines of code 119
Comment lines 59
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
getRemoteQuota()
D
27
31 133
getQuotaData()
S
55 4 21
getQuota()
S
50 2 28
getInstance()
S
73 2 5
hasQuota()
S
68 2 8
resetQuotaExceeded()
S
66 2 9
getAvailableQuota()
S
76 1 4
forceCheckRemoteQuota()
S
71 1 6
remoteValidateKey()
S
76 1 4
setQuotaExceeded()
S
73 1 5